﻿using org.syncsoft.overalt.gui.entities;
using System.Collections.Generic;

namespace org.syncsoft.overalt.gui.socket
{
    public interface ISocketChannel
    {
        
        bool Login(string login, string senha);

        void Update(File file);

        void Commit(File file);

        void AddFile(File file);

        void Delete(File file);

        void ShareFolder(Folder folder);

        List<Community> GetComunities();

        List<Contacts> GetContacts();

        List<File> GetModifiedFiles(Folder folder);

        List<File> GetFiles(Folder folder);

        List<File> GetHistoryFiles(Folder folder);

        File GetSettingsFile(File file);

        List<Members> GetMembers(Community community);
    }
}
